<app-head [msg]="this" [msg1]="title"></app-head>
<div class="payDetail_box">
  <div class="payDetail_address" (click)="goAddress()">
    <div class="payDetail_address_left">
      <div>
        <span>
          {{receiveName}}  &nbsp;&nbsp;&nbsp;&nbsp;{{receiveTel}}
        </span>
      </div>
      <div>
        <span class="left_address">{{provinceName}}{{cityName}}{{area}}{{details}}</span>
      </div>
    </div>
    <div class="payDetail_address_right">
      <img src="assets/mymsgimg/numsArrow.png">
    </div>
  </div>
  <div class="shopList">
    <div class="shopList_top">
      <div class="shopList_top_img"><img src="assets/mymsgimg/order.png"></div>
      <div class="shopList_top_order"><span>我的订单</span></div>
    </div>
    <div class="shopList_body" *ngFor=" let item of goodsMsg ; let key = index">
      <div class="shopList_body_img">
        <img src="{{item.g_img}}" (click)="goDetail(key)">
        <div class="highlowprice" *ngIf="item.g_discount !== 0"><span>直降</span></div>
      </div>
      <div class="shopList_body_name">
        <div>
          <span>特级 优质 原生态{{item.g_title}}</span>
        </div>
        <div class="shopList_body_name_price">
          <span class="price">￥ {{item.g_price-item.g_discount}}/(200)g袋</span>
          <span class="count">x{{item.goods_count}}</span>
          <div *ngIf="item.g_discount !== 0"> 原价：￥{{item.g_price}}/袋</div>
        </div>
      </div>
    </div>
  </div>
  <div class="totalPrice">
    <span>共计</span> {{num}} <span>件商品</span> &nbsp;&nbsp;<span>总价为： ￥</span><span>{{countPrice}}</span>
  </div>
  <div class="leaveWord">
    <textarea placeholder="买家留言" rows="8" cols="2" maxlength="18"></textarea>
  </div>
  <div class="lowPrice">
    <div class="lowPrice_box">
    <div>直降金额</div>
    <div class="red">-{{lowPrice}}.00<span>元</span></div>
    </div>
  </div>
  <div class="deliveryPrice">
    <div class="deliveryPrice_box" >
    <div>配送费</div>
    <div class="red">{{deliveryPrice}}.00<span>元</span></div>
    </div>
  </div>
</div>
<div class="payDetail_tabbar">
  <div class="payDetail_tabbar_money">
    实付： ￥ {{realPay}}.00
  </div>
  <div class="payDetail_tabbar_order" (click)="orderPay()">
    <span>提交订单</span>
  </div>
</div>
